func runtime.cheaprandn
9 uses
runtime (current package)
malloc.go#L1508: q := cheaprandn(1<<randomBitCount) + 1
malloc.go#L1526: return uintptr(cheaprandn(uint32(2 * rate)))
mgcpacer.go#L715: id := int32(cheaprandn(uint32(gomaxprocs - 1)))
os_linux.go#L650: spec.it_value.setNsec(1 + int64(cheaprandn(uint32(1e9/hz))))
proc.go#L6762: j := cheaprandn(i + 1)
proc.go#L6803: j := cheaprandn(i + 1)
rand.go#L255: func cheaprandn(n uint32) uint32 {
select.go#L180: j := cheaprandn(uint32(norder + 1))
symtab.go#L1046: ci := cheaprandn(uint32(len(cache.entries[ck])))
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |